package com.song.service;


import com.song.dto.DishDTO;
import com.song.dto.DishPageQueryDTO;
import com.song.entity.Dish;
import com.song.result.PageResult;
import com.song.vo.DishVO;

import java.util.List;

public interface DishService {
    Integer addDish(DishDTO dishDTO);

    PageResult<DishVO> getDishPage(DishPageQueryDTO dishPageQueryDTO);

    Integer deleteDish(List<Long> ids);

    Integer updateDish(DishDTO dishDTO);

    DishVO getDishByID(Long id);

    List<Dish> getDishListByCategoryId(Long categoryId);

    Integer updateDishStatus(Integer status, Long id);


    List<DishVO> getDishAndFlavorList(Long categoryId);
}
